.joe_photos__type {
  position: relative;
  margin-bottom: 15px;
  padding: 60px 15px 15px;
  background: var(--background);
  border-radius: var(--radius-wrap);
  box-shadow: var(--box-shadow)
}

.joe_photos__type-title {
  position: absolute;
  top: 15px;
  left: -10px;
  height: 30px;
  padding: 0 12px;
  color: #fff;
  font-weight: 500;
  line-height: 30px;
  background: var(--theme);
  border-radius: 2px 2px 2px 0;
  box-shadow: 2px 5px 10px rgba(49, 58, 70, 0.15);
  user-select: none
}

.joe_photos__type-title::before {
  position: absolute;
  bottom: -10px;
  left: -10px;
  border-color: var(--theme) transparent transparent;
  border-style: solid;
  border-width: 10px;
  transform: rotate(90deg);
  content: ""
}

.joe_photos__type-title .joe-font {
  vertical-align: bottom
}

.joe_photos__type-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--classC)
}

.joe_photos__type-list .item {
  height: 28px;
  padding: 0 15px;
  overflow: hidden;
  color: var(--routine);
  font-size: 12px;
  line-height: 28px;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  background: var(--classD);
  border-radius: 14px;
  cursor: pointer;
  transition: color .35s, background .35s, box-shadow .35s, transform .35s;
  user-select: none
}

.joe_photos__type-list .item.active {
  color: #fff;
  background: var(--theme);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px)
}

.joe_photos__type-list .item:hover {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px)
}

.joe_photos__type-list .error {
  color: var(--routine);
  text-align: center;
  user-select: none
}

.joe_photos__gallery {
  position: relative;
  width: 100% !important;
  margin: 0 auto
}

.joe_photos__gallery .item {
  display: block;
  min-height: 50px;
  overflow: hidden;
  background: var(--background);
  border-radius: var(--radius-wrap)
}

.joe_photos__gallery .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease !important
}

.joe_photos__gallery .item .tit {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 6px 10px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: linear-gradient(0deg, #151515, transparent 80%)
}

.joe_photos__gallery .item .team {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 2px 4px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #5299a5;
  border-radius: 2px
}

.joe_photos__gallery .item .info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity .35s
}

.joe_photos__gallery .item .info p {
  display: none;
  margin-bottom: 5px;
  animation-duration: .3s
}

.joe_photos__gallery .item .info p:nth-child(2) {
  animation-delay: .2s
}

.joe_photos__gallery .item .info p:nth-child(3) {
  animation-delay: .3s
}

.joe_photos__gallery .item .info p i {
  position: relative;
  top: 2px;
  float: left;
  margin-right: 5px
}

.joe_photos__gallery .item .info p .joe-icon-shijian {
  top: 0
}

.joe_photos__gallery .item .info p span {
  display: block;
  overflow: hidden
}

.joe_photos__gallery .item::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0);
  transition: background .35s;
  content: ""
}

.joe_photos__gallery .item:hover img {
  transform: scale(1.2)
}

.joe_photos__gallery .item:hover::before {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px)
}

.joe_photos__gallery .item:hover .info {
  opacity: 1
}

.joe_photos__gallery .item:hover .info p {
  display: block
}

.joe_photos__gallery .masonry-item {
  width: 30%
}

.joe_photos__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.joe_photos__list .item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--background);
  border-radius: var(--radius-wrap)
}

.joe_photos__list .item img {
  width: 100%;
  height: 100%;
  min-height: 50px;
  object-fit: cover;
  transition: transform 1s
}

.joe_photos__list .item .tit {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 6px 10px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: linear-gradient(0deg, #151515, transparent 80%)
}

.joe_photos__list .item .team {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 2px 4px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #5299a5;
  border-radius: 2px
}

.joe_photos__list .item .info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity .35s
}

.joe_photos__list .item .info p {
  display: none;
  margin-bottom: 5px;
  animation-duration: .3s
}

.joe_photos__list .item .info p:nth-child(2) {
  animation-delay: .2s
}

.joe_photos__list .item .info p:nth-child(3) {
  animation-delay: .3s
}

.joe_photos__list .item .info p i {
  position: relative;
  top: 2px;
  float: left;
  margin-right: 5px
}

.joe_photos__list .item .info p .joe-icon-shijian {
  top: 0
}

.joe_photos__list .item .info p span {
  display: block;
  overflow: hidden
}

.joe_photos__list .item::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0);
  transition: background .35s;
  content: ""
}

.joe_photos__list .item::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: url();
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 20% auto;
  transform: scale(2);
  opacity: 0;
  transition: transform .35s, opacity .35s;
  content: ""
}

.joe_photos__list .item:hover img {
  transform: scale(1.2)
}

.joe_photos__list .item:hover::before {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px)
}

.joe_photos__list .item:hover::after {
  transform: scale(1);
  opacity: 1
}

.joe_photos__list .item:hover .info {
  opacity: 1
}

.joe_photos__list .item:hover .info p {
  display: block
}

.joe_photos__list:empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px
}

.joe_photos__list:empty::after {
  display: block;
  width: 70px;
  height: 70px;
  background: url();
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: ""
}

.joe_photos__list.waterfall {
  position: relative
}

.joe_photos__list.waterfall .item img {
  height: auto
}

.joe_photos__filter {
  position: relative;
  top: 12px;
  display: block
}

.joe_photos__filter ul {
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 14px;
  letter-spacing: .05em;
  list-style: none;
  user-select: none
}

.joe_photos__filter ul li {
  position: relative;
  display: inline-block;
  margin: 0 20px 12px 0;
  vertical-align: bottom;
  font-size: 0
}

.joe_photos__filter ul li:after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--theme);
  border-radius: 3px;
  transform: scale(0, 1);
  transform-origin: 50% 0;
  transition: transform .35s;
  content: "";
  will-change: transform
}

.joe_photos__filter ul li:hover:after {
  width: 100%;
  transform: scale(1)
}

.joe_photos__filter ul li a {
  display: block;
  color: var(--main);
  font-size: 14px
}

.joe_photos__filter ul li.active {
  font-weight: bold
}

.joe_photos__filter ul li.active:after {
  width: 100%;
  transform: scale(1)
}

.joe_photos__layout-switch {
  position: absolute;
  top: 20px;
  right: 20px
}

.joe_photos__layout-switch i {
  float: left;
  margin-left: 5px;
  color: var(--classA);
  font-size: 18px;
  cursor: pointer;
  transition: color .2s
}

.joe_photos__layout-switch i:hover,
.joe_photos__layout-switch i.active {
  color: var(--theme)
}

.joe_photos__pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 15px
}

.joe_photos__pagination-item {
  height: 32px;
  margin-left: 5px;
  padding: 0 15px;
  color: var(--main);
  line-height: 32px;
  background: var(--background);
  border-radius: 2px;
  cursor: pointer;
  transition: background .35s, color .35s;
  user-select: none
}

.joe_photos__pagination-item:first-child {
  margin-left: 0
}

.joe_photos__pagination-item svg {
  transition: fill .35s;
  fill: var(--routine)
}

.joe_photos__pagination-item .next {
  transform: rotate(180deg)
}

.joe_photos__pagination-item.active,
.joe_photos__pagination-item:hover {
  color: #fff;
  background: var(--theme)
}

.joe_photos__pagination-item.active svg,
.joe_photos__pagination-item:hover svg {
  fill: #fff
}

:root {
  --main-bg-color: #ff7675
}

*,
*::after,
*::before {
  box-sizing: border-box
}

html {
  background: #f4f4f4;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  color: #111
}

a {
  text-decoration: none;
  color: #111;
  cursor: pointer
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0
}

img {
  max-width: 100%
}

b,
strong {
  font-weight: 600
}

hr {
  background: #111;
  box-shadow: none;
  border: none;
  height: 1px;
  width: 100%;
  margin: 10px 0
}

::selection {
  background: var(--main-bg-color);
  color: #fff
}

::-moz-selection {
  background: var(--main-bg-color);
  color: #fff
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 10px
}

.wrapper {
  padding: 40px 0
}

.card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease-in-out
}

.card__picture {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px
}

.card-infos {
  padding: 20px;
  background: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px
}

.card__title {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px
}

.card__text {
  font-size: 1.4rem;
  font-weight: 300;
  margin: 0;
  color: #86888A
}

.card__text--high {
  font-weight: 600
}

.header {
  background: var(--main-bg-color);
  height: 160px;
  display: flex
}

.header__title {
  margin: auto;
  font-weight: 300;
  font-size: 3.2rem;
  color: #fff
}

.header__title--high {
  font-weight: 600
}

.sortable__nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px
}

.sortable__nav .nav__link {
  padding: 0 20px 4px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 300;
  display: block;
  border-bottom: 2px solid transparent
}

.sortable__nav .nav__link.is-active {
  border-color: var(--main-bg-color)
}

.footer__list.list {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.footer__list.list .list__item.item {
  display: flex
}

.footer__list.list .list__item.item .item__link.link {
  margin: 0
}

.footer__list.list .list__item.item .item__link.link:not(:first-child) {
  margin-left: 20px
}

.footer__list.list .list__item.item .item__link.link .link__icon {
  height: 2rem;
  width: 2rem
}